<form action="/signup/check" method="post">
    <input type="hidden" name="csrf_token" value="<?= generate_token() ?>">
    <input type="text" name="username" value="" placeholder="姓名">
    <input type="password" name="password" value="" placeholder="密码">
    <button type="submit">注册</button>
</form>